#if !defined(RESOURCETEXTURE_H)
#define RESOURCETEXTURE_H

#include "resource.h"
#include <d3dx9.h>

namespace gunsmith
{
/*! \class CResourceTexture
	\brief Texture resource. */
class CResourceTexture : public CResource
{
public:
						CResourceTexture	();
	virtual				~CResourceTexture	();
	virtual bool		Create				(void *pSource);
	virtual void		Destroy				();
	IDirect3DTexture9*	GetTexture			()				const;

private:
	IDirect3DTexture9	*m_pTexture;
};
};

#endif //RESOURCETEXTURE_H